$OpenBSD: patch-lib_phusion_passenger_platform_info_compiler_rb,v 1.5 2015/07/26 01:33:26 jeremy Exp $
--- lib/phusion_passenger/platform_info/compiler.rb.orig	Sat Jul 18 19:06:41 2015
+++ lib/phusion_passenger/platform_info/compiler.rb	Sat Jul 18 19:06:52 2015
@@ -223,7 +223,7 @@ module PhusionPassenger
         f.close
         begin
           command = create_compiler_command(language,
-            "-v -c '#{filename}' -o '#{filename}.o'",
+            "-I${LOCALBASE}/include -v -c '#{filename}' -o '#{filename}.o'",
             flags)
           if result = run_compiler("Checking for #{header_name}", command, filename, source, true)
             result[:output] =~ /^#include <...> search starts here:$(.+?)^End of search list\.$/m
